import request from '@/utils/request'

export function getAllUser() {
  return request({
    url: '/users/allUser',
    method: 'post'
  })
}

export function delUser(data) {
  return request({
    url: '/users/delUser',
    method: 'post',
    data
  })
}

export function modifyUserInfo(data) {
  return request({
    url: '/users/modifyUserInfo',
    method: 'post',
    data
  })
}
